package com.example.boot.dluseraddress.dao;

import java.util.List;

import org.apache.tomcat.jni.Address;

import com.example.boot.dluseraddress.model.DlUserAddress;

/**
 * @author ydx
 *
 */
public interface DlUserAddressMapper {
	int deleteByPrimaryKey(String id);

	int insert(DlUserAddress record);

	int insertSelective(DlUserAddress record);

	DlUserAddress selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(DlUserAddress record);

	int updateByPrimaryKey(DlUserAddress record);

	/**
	 * 查找所有收获地址
	 * 
	 * @param openId
	 * @return
	 * @throws Exception
	 */
	public List<Address> byOpenIdFinAllAddress(String openId) throws Exception;

}